﻿package bipede.membres
{
	import events.MoveEvent;
	import fab.Utils;
	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.geom.Point;
	import fl.ik.*;	
	import fab.geom.*;
	import physic.Contrainte;
	import physic.Obstacle;
	
	public class Tete extends MovieClip
	{
		public var squelette:Squelette;
		public var ikBone:IKBone;
		public var ikMoverTalon:IKMover;
		public var ikMoverOrteil:IKMover;
		public var ikMoverGenou:IKMover;

		private var _longueur:int = 0;
		
		public function Tete()// _squelette:Squelette, _ikBone:IKBone )
		{
			addEventListener( Event.ADDED_TO_STAGE, init );
		}
		public function init(pEvt=null):void
		{
			removeEventListener( Event.ADDED_TO_STAGE, init );
			( parent as Person ).yeux = getChildByName("yeux") as Yeux;
		}
		override public function toString():String
		{
			return "Tete : ";
		}	
	}	
}